package com.mp.pojo.Query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *@description:
 *@author: Ace
 *@create: 2019-08-28 09:19
 */
@Data
@ApiModel(value = "站点飞单记录对象")
public class WebsiteFlyRecordQuery {

    @ApiModelProperty(value = "站点用户Id", example = "1", required = true)
    @NotNull(message="站点用户Id不能为空")
    private Integer websiteUserId;

    @ApiModelProperty(value = "游戏Code", example = "1", required = true)
    @NotBlank(message="游戏Code不能为空")
    private String code;

    @ApiModelProperty(value = "当前页", example = "1", required = true)
    @NotNull(message = "当前页 不能为空")
    private Integer current;

    @ApiModelProperty(value = "每页条数", example = "10", required = true)
    @NotNull(message = "每页条数 不能为空")
    private Integer size;

}
